<?php
/*--------------------------------------------------------------
   remove_global_product_notifications_column.php 2022-12-05
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2022 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
 -------------------------------------------------------------*/

/** @var DatabaseModel $this */
/** @var int $t_success */

if ($this->columnExists('customers_info', 'global_product_notifications')) {
    
    $query     = 'ALTER TABLE `customers_info` DROP `global_product_notifications`;';
    $t_success &= $this->query($query, true);
}

